<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">




<title>Log4Net五步走 - 英雄好汉的布拉格 - 博客园</title>
<meta name="keywords" content="Asp.NET,Log4Net五步走">



<link title="RSS" type="application/rss+xml" rel="alternate" href="http://www.cnblogs.com/Heroman/rss">
<link title="RSD" type="application/rsd+xml" rel="EditURI" href="http://www.cnblogs.com/Heroman/rsd.xml"> 
  



<link rel="stylesheet" type="text/css" href="index.css" media="all">
</head>
<body>
    <form name="Form1" method="post" action="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html" id="Form1">
<div>
<input name="__EVENTTARGET" id="__EVENTTARGET" value="" type="hidden">
<input name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" type="hidden">
<input name="__VIEWSTATE" id="__VIEWSTATE" value="" type="hidden">
</div>




        


<table style="margin-top: 10px;" align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
<tbody><tr>
	<td style="padding: 0pt;" valign="top" width="70%">
		<table align="center" bgcolor="white" border="0" cellpadding="5" cellspacing="0" height="90" width="100%">
		<tbody><tr>
			<td class="banner">
			
<div id="header">
	<span>
		<a id="Header1_HeaderTitle" href="http://www.cnblogs.com/Heroman/">英雄好汉的布拉格</a><br>
		<div class="sub">Nhibernate研究</div>
	</span>
</div>
			</td>
		</tr>
		</tbody></table>
		<table class="index" align="center" bgcolor="white" border="0" cellpadding="5" cellspacing="0" height="90" width="100%">
		<tbody><tr>
			<td class="main">
			
					
<div class="block">
	<h1 class="block_title"><a id="ctl04_TitleUrl" href="http://www.cnblogs.com/Heroman/archive/2006/01/09/314053.html">Log4Net五步走</a></h1>
	<div class="post">
		<div class="postcontent">
			<p>本文不是教你全面了解log4net,本文只是希望教会你按步就班,照糊芦画瓢般就会用log4net<br>1,引入log4net.dll组件<br>2,建立一个配置文件<br>两种方法,一种是在Web.Config或App.Config里<br>加入以下配置节<br>&lt;configSections&gt;<br>&nbsp;&lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /&gt;<br>&lt;/configSections&gt;<br>上面的配置节,复制就可以用了</p>
<p>加入log4net配置内容的定义,这个紧接着上面的内容定义在config文件里就可以了,下面是一个范例:<br>&lt;log4net&gt;<br>&nbsp;&lt;root&gt;<br>&nbsp;&lt;level value="ALL" /&gt;<br>&nbsp;&lt;appender-ref ref="rollingFile" /&gt;<br>&nbsp;&lt;/root&gt;</p>
<p>&nbsp;&lt;appender&nbsp; name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net" &gt;<br>&nbsp;&lt;param name="File" value="log.txt" /&gt;<br>&nbsp;&lt;param name="AppendToFile" value="false" /&gt;<br>&nbsp;&lt;param name="RollingStyle" value="Date" /&gt;<br>&nbsp;&lt;param name="DatePattern" value="yyyy.MM.dd" /&gt;<br>&nbsp;&lt;param name="StaticLogFileName" value="true" /&gt;<br>&nbsp;&lt;layout type="log4net.Layout.PatternLayout,log4net"&gt;<br>&nbsp;&nbsp;&lt;param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" /&gt;<br>&nbsp;&nbsp;&lt;param name="Header" value="&amp;#13;&amp;#10;----------------------header--------------------------&amp;#13;&amp;#10;" /&gt;<br>&nbsp;&nbsp;&lt;param name="Footer" value="&amp;#13;&amp;#10;----------------------footer--------------------------&amp;#13;&amp;#10;" /&gt;<br>&nbsp;&lt;/layout&gt;<br>&nbsp;&lt;/appender&gt;&nbsp;<br>&nbsp;&lt;appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net"&gt;&nbsp;<br>&nbsp;&nbsp;&lt;layout type="log4net.Layout.PatternLayout,log4net"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" /&gt;<br>&nbsp;&nbsp;&lt;/layout&gt;<br>&nbsp;&lt;/appender&gt;&nbsp;<br>&nbsp;&lt;logger name="Log4NetTest.LogTest"&gt;<br>&nbsp;&nbsp;&lt;level value="DEBUG" /&gt;<br>&nbsp;&nbsp;&lt;appender-ref&nbsp; ref="rollingFile" /&gt;<br>&nbsp;&nbsp;&lt;appender-ref ref="coloredConsoleApp" /&gt;<br>&nbsp;&nbsp;&lt;appender-ref ref="SystemEvent" /&gt;<br>&nbsp;&lt;/logger&gt;<br>&lt;/log4net&gt;<br>你懒得写的话,复制上面的内容也可以<br>不过,还是稍做讲解,log4net配置节的XSD层次如下</p>
<p>&lt;log4net&gt;<br>&nbsp;&lt;root&gt;&lt;level /&gt;&lt;appender-ref ref="" /&gt;&lt;/root&gt;<br>&nbsp;&lt;appender name="" type="Appender的完全限定类名"&gt;<br>&nbsp;&lt;param name="" value="" /&gt;<br>&nbsp;&lt;layout type="log4net.Layout.PatternLayout,log4net"&gt;<br>&nbsp;&nbsp;&lt;param name="" value="" /&gt;<br>&nbsp;&lt;/layout&gt;<br>&nbsp;&lt;/appender&gt;<br>&nbsp;&lt;logger&gt;<br>&nbsp;&lt;level value="" /&gt;<br>&nbsp;&lt;appender-ref ref="" /&gt;<br>&lt;/logger&gt;<br>看不懂?其实很简单啦<br>log4net是log4net配置节的根标记<br>root标记定义一个根级别的记录者,log4net的记录者采用层级组织的, 两个logger,A的名字叫loggerA,B的名字叫loggerA.B的话,那么B就是A的儿子,B会自动继承A的一些定义,例如LEVEL定义,appender-ref定义等,root就是总的logger,其余定义的logger都是他的后代,都会继承他的设置</p>
<p>包括ROOT在内的每一个LOGGER(ROOT也是一个LOGGER,只不过,他是祖先而已,别的方面,跟其他LOGGER一样),都可以定义Level<br>level定义记录的日志级别,就是说,你要记录哪个级别以上的日志,级别由高往低依次是:<br>None<br>Fatal<br>ERROR<br>WARN<br>DEBUG<br>INFO<br>ALL</p>
<p>级别的定义要注意,如果你定义DEBUG,那么低于DEBUG级别以下的信息,将不会记入日志,啥意思呢?就是说,就算你在程序里,用log.info()来写入一个日志信息,可是你在配置中指定level为DEBUG,由于INFO级别低于DEBUG,所以,不会被记入日志.这样的处理非常灵活</p>
<p>Logger还有一个配置就是appender-ref了,ref是参照的意思,log4net的架构非常有意思,可扩展性非常高非常值得借鉴,他分为四个要素:<br>logger<br>appender<br>layout<br>filter</p>
<p>logger是负责日志的记录者<br>appender提供记录的介质<br>layout负责把记入的内容格式化<br>filter负责把内容进行筛选</p>
<p>可以说,整个过程就是一个日志流水线,每个成员负责其中的一个环节<br>logger发出记录信息,appender接到信息,根据内部的layout配置对记录信息格式化,根据filter决定此信息是否被过滤掉,最后,将其序列化</p>
<p>因此,logger的appender-ref就是定义说,LOGGER要找谁去将内容写入磁盘,流或其他介质,因此,十分重要吧<br>既然是ref引用,那肯定要定义这个被引用的appender对象了呀</p>
<p>每个appender都代表了一个输出介质<br>name属性指定其名称,type则是log4net.Appender命名空间的一个类的名称,意思是,指定使用哪种介质<br>log4net支持的appender类型有十几种,最常用的有rollingFileAppender,AdoNetAppender,EventLogAppender,FileAppender,分别把日志记入文件,系统日志和数据库<br>除此之外,appender内的其他参数都用param标记,以key/value形式定义于其内<br>这里有个小提示,每一个appender,log4net并没有在文档中提出他们需要哪些参数,那么,我们怎么知道呢?<br>原来,这些param的名称,你可以直接查对应的appender类的属性名即可,例如,使用EventLogAppender时,通过查看类的属性,我们知道其有<br>LogName,ApplicationName属性,那么,意味着,你可以直接在这个APPENDER的param里加入以下内容:<br>&lt;param name="LogName" value="Application" /&gt;<br>&lt;param name="ApplicationName" value="log4netTest" /&gt;</p>
<p>定义了appender的NAME及TYPE属性,以及使用param为其指定参数后,一个appender就建立了,你可以使用他的名字在LOGGER的&lt;appender-ref中去 引用它,那么,引用它的LOGGER在写入日志时,就是写到了APPENDER中定义的介质中去了<br>一个LOGGER可以引用多个APPENDER,其结果是,同一个日志,被同时记录到多个介质中去 ,便如,同时发邮件,写入系统日志,发送到远程主机.不过,虽然可以这样做,但是还是要小心,因为,会对性能有一定的影响,除非你需要,否则,不要乱用此功能</p>
<p>另外,appender中可以定义可选的layout,layout的定义非常有必要,如果你不想将来看到你的日志会感觉头晕的话,虽然log4net帮你写入日志,但是,日志信息的格式却是我们使用者自行定义的<br>layout的type参数指定使用哪个类的定义来格式化,常用的有XmlLayout,SimpleLayout,PatternLayout,这个当然要根据你的需要,以及你要产生的格式来选啦,如果你要输出成XML文档格式,你肯定不能用simplelayout吧<br>layout使用param以KEY/VALUE形式定义其参数<br>各个Layout类使用的参数当然不一样啦,具体的,你可以去看各个Layout类的属性<br>其中,PatternLayout可以使用ConversionPattern参数来指定一个格式化字符串<br>以及可以指定一个Header参数,做为日志开头的字符串,Footer来指定结尾字符串<br>这里有一个小技巧,日志中开头和结尾总想产生回车符吧,虽然logger在写入一条日志会自动回车,可是Header和FOOTER却不会,咋办?用\n\r吗?(我从别人的BLOG上看到过)经实践,\n\r会原样定改日志,根本不会转换.其实,我们可以用XML实体呀,使用&amp;#13;&amp;#10;就可以在指定位置插入一个回车换行符了</p>
<p>最后,像log4net的文档中说的那样,如果你不想你的日志文件变得很大,使读写的性能下降的话,建议你还是分级管理日志,把粒度变小点,也就是说,除了定义ROOT外,最后,对每一个模块或每一个实体,依据用途,目的,定义各自的LOGGER配置,这样的好处是日志被分散了,日志文件增长就没那么快了.每一个LOGGER的结构跟ROOT是一模一样的,这里不再叙述了.像前面说的那样,如果你相让日志产生层级关系,你可以跟他们的NAME属性像C#中的namespace那样命名就可以了<br>要说明的是,LOGGER的定义是非必须的,只是一种建议罢了,Log4net的配置中,除了必须定义一个ROOT和一个APPENDER外,其他的都是可选的</p>
<p>另一种配置log4net的方法,是在单独的XML文件中配置,这个时候,只要把log4net标记中的内容复制过来就行了,不需要configSections</p>
<p>3,在应用程序代码中读取配置<br>这一步非常简单,你可以在应用程序集的assemblyInfo.cs文件中读取log4net配置<br>对于WINFORM应用程序,你可以加入<br>[assembly:log4net.Config.DOMConfigurator()]或<br>[assembly:log4net.Config.XmlConfigurator()]<br>对于WEBFORM你可以加入<br>[assembly:log4net.Config.DOMConfigurator(ConfigFile="web.config",Watch=true)]</p>
<p>注意:如果使用NUNIT测试的朋友,要用生成后事件,copy "$(ProjectDir)app.config" "$(TargetPath).config"</p>
<p>4.在应用程序中获取ILog对象<br>在需要使用LOGGER功能的类中,引入log4net空间,为类加入静态只读成员(静态的目的是只用一个对象,只读是防止误改)<br>private static readonly ILog logger=LogManager.GetLogger(typeof(类))<br>这里就可以获取配置文件中与类名同名的LOGGER对象了</p>
<p>5,写入日志<br>很简单 logger.Deub(写入的内容)<br>其他的还有info,warn,error等,很容易理解的</p>
<div id="digg_block">
<div id="div_digg">										
	<div class="diggit" onclick="DiggIt(314053,7845,1)"> 
		<span class="diggnum" id="digg_count_314053">1</span>
	</div>
	<div class="buryit" onclick="DiggIt(314053,7845,2)"> 
		<span class="burynum" id="bury_count_314053">0</span>
	</div>
	<div class="clear"></div>
	<span style="display: none;" id="span_isdigged_314053">0</span>	
	<div class="diggword" id="digg_word_314053">(请您对文章做出评价)</div>	
</div>
</div>
<div class="clear"></div>
<div id="post_next_prev">
<a href="http://www.cnblogs.com/Heroman/archive/2006/01/05/311714.html">« </a> 上一篇：<a href="http://www.cnblogs.com/Heroman/archive/2006/01/05/311714.html" title="发布于2006-01-05 17:15">使用Response.redirect重定向到带锚点页面的技巧</a><br>
<a href="http://www.cnblogs.com/Heroman/archive/2006/01/10/314631.html">» </a> 下一篇：<a href="http://www.cnblogs.com/Heroman/archive/2006/01/10/314631.html" title="发布于2006-01-10 15:25">也论该不该在项目中使用存储过程代替SQL语句</a><br>
</div>








		</div>
		<div class="itemdesc">
			发表于 2006-01-09 18:43 <a href="http://www.cnblogs.com/Heroman/">菩提树</a> 阅读(12369) <a href="#commentform">评论(4)</a> &nbsp;<a href="http://www.cnblogs.com/Heroman/admin/EditPosts.aspx?postid=314053">编辑</a> <a href="http://www.cnblogs.com/Heroman/AddToFavorite.aspx?id=314053">收藏</a> <a href="#" onclick="PutInWz();return false;">网摘</a>  所属分类: <a href="http://www.cnblogs.com/Heroman/category/45810.html">Asp.NET</a>
		</div>
	</div>
	<div class="seperator">&nbsp;</div>
	<img src="314053.html" height="1" width="1">
	
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
rdf:about="http://www.cnblogs.com/Heroman/archive/2006/01/09/314053.html"
dc:identifier="http://www.cnblogs.com/Heroman/archive/2006/01/09/314053.html"
dc:title=""
trackback:ping="http://www.cnblogs.com/Heroman/services/trackbacks/314053.aspx" />
</rdf:RDF>
-->

<a name="pagedcomment"></a>
<div class="post">
<a name="评论">
</a><div class="moreinfo">
<a name="评论">	</a><div class="moreinfotitle">
<a name="评论">		评论
	</a></div>
<a name="评论">	<span id="span_comment_maxid" style="display: none;">690678</span>
	
			</a><div class="comments">
<a name="评论">		
			</a><div class="comment">
<a name="评论">				</a><div class="comment_title">
<a name="评论">					</a><a href="#314277">#1楼</a><a name="314277" id="comment_anchor_314277"></a>
				</div>
				<div class="comment_content"><span id="comment_body_314277" class="blog_comment_body">不错，没用过的照画就基本能用上了。
<br>把写入日志再详细点好了。</span></div>
				<div class="comment_footer"><a id="Comments1_CommentList_ctl01_NameLink" href="http://www.cnblogs.com/codear/" target="_top">Vokobo</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/Vokobo" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> 评论于 2006-01-10 09:15&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='ReplyComment("Vokobo",314277,"7V3kUO9fJNW5XFlQjFMpW+Cp6r64E/gNgenAGkiAEsMMc1FRd1ZlLg==")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(314277,"7V3kUO9fJNW5XFlQjFMpW+Cp6r64E/gNgenAGkiAEsMMc1FRd1ZlLg==")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=Vokobo" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</div>
		
			<div class="comment">
				<div class="comment_title">
					<a href="#361810">#2楼</a><a name="361810" id="comment_anchor_361810"></a>
				</div>
				<div class="comment_content"><span id="comment_body_361810" class="blog_comment_body">我照看网上别的文章搞了半天，提示日志写成功，就是没有文件生成，看了你的文章发现少了这个：[assembly:log4net.Config.XmlConfigurator()]
<br>谢谢。</span></div>
				<div class="comment_footer"><a id="Comments1_CommentList_ctl02_NameLink" href="http://www.cnblogs.com/81/" target="_top">81</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/81" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> 评论于 2006-03-29 15:19&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='ReplyComment("81",361810,"hHAJR1L/wg05jnf81cZgqsDDbga9WTZxvWrcHPua37qyMR2XDKUJdw==")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(361810,"hHAJR1L/wg05jnf81cZgqsDDbga9WTZxvWrcHPua37qyMR2XDKUJdw==")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=81" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</div>
		
			<div class="comment">
				<div class="comment_title">
					<a href="#686560">#3楼</a><a name="686560" id="comment_anchor_686560"></a> 202.167.248.* 
				</div>
				<div class="comment_content"><span id="comment_body_686560" class="blog_comment_body">很实用~！支持一个~！！！！顶！！！！！</span></div>
				<div class="comment_footer"><a id="Comments1_CommentList_ctl03_NameLink" href="http://iheshi.cnblogs.com/" target="_top">Greg</a> 评论于 2007-03-24 18:32&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='ReplyComment("Greg",686560,"")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(686560,"")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</div>
		
			<div class="comment">
				<div class="comment_title">
					<a href="#690678">#4楼</a><a name="690678" id="comment_anchor_690678"></a> 202.104.190.* <a name="Post"></a>
				</div>
				<div class="comment_content"><span id="comment_body_690678" class="blog_comment_body">我想请问一下，log4net-1.2.10，在VB.net里面(winform)，AssemblyInfo.vb里怎么写配置代码？ 
<br>我这样写，&lt;assembly:log4net.Config.XmlConfigurator(ConfigFile="Log4Config.xml",Watch=true)&gt;，却提示出错。</span></div>
				<div class="comment_footer"><a id="Comments1_CommentList_ctl04_NameLink" target="_blank">simen[未注册用户]</a> 评论于 2007-03-28 08:29&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='ReplyComment("simen",690678,"")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(690678,"")' href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</div>
		
			</div>
		
</div>
</div>
<div class="seperator">&nbsp;</div>


<div id="comment_form" class="commentform">



<div id="divCommentShow"></div>
<div id="comment_nav" style="text-align: right;"><span id="span_refresh_tips"></span><a href="###" onclick="return RefreshCommentList(314053);" name="commentform" id="lnk_RefreshComments">刷新评论列表</a>&nbsp; <a href="###" onclick="return RefreshPage();">刷新页面</a>&nbsp; <a href="#top">返回页首</a></div>
<div id="commentform_title">发表评论 <span class="ad_commentbox_up"><a href="http://www.cnblogs.com/" target="_top">博客园首页</a>&nbsp; <a href="http://news.cnblogs.com/" target="_top">IT新闻</a>&nbsp; <a href="http://home.cnblogs.com/ing/" target="_top">闪存</a>&nbsp; <a href="http://job.cnblogs.com/" target="_top">招聘</a>&nbsp; <a href="http://a4.yeshj.com/rd/34143/" target="_top">学英语</a></span></div>
<span id="tip_comment" style="color: Red;"></span>
<p>
昵称：<input name="ctl05$tbCommentAuthor" id="ctl05_tbCommentAuthor" class="author" value="解然" disabled="disabled" type="text">
</p>
<p>
主页：<input name="ctl05$tbCommentAuthorUrl" id="ctl05_tbCommentAuthorUrl" class="url" value="http://www.cnblogs.com/xieran/" disabled="disabled" type="text">
</p>
<p>
</p><div class="commentbox_title">
<div class="commentbox_title_left">评论内容：</div>
<div class="commentbox_title_right">
<img id="ubb_quote" class="comment_icon" src="quote.gif" alt="引用" title="添加引用" onclick="insertUBB('tbCommentBody','quote')">
<img id="ubb_bold" class="comment_icon" src="b.png" alt="粗体" title="添加粗体" onclick="insertUBB('tbCommentBody','b')">
<img id="ubb_url" class="comment_icon" src="lk.png" alt="链接" title="添加链接" onclick="insertUbbUrl('tbCommentBody')">
<img id="ubb_indent" class="comment_icon" src="indent.png" alt="缩进" title="添加首行缩进" onclick="insertIndent('tbCommentBody')">
<img id="ubb_img" class="comment_icon" src="img.gif" alt="图片" title="添加图片" onclick="insertUbbImg('tbCommentBody')">
<img id="ubb_code" class="comment_icon" style="" src="insertcode.gif" alt="代码" title="添加代码" onclick="insertUbbCode()">
</div>
</div>
<div class="clear"></div>
<textarea id="tbCommentBody" class="comment_textarea" onkeydown="return clt_enter(event)"></textarea>
<p></p>
<p>
<input id="btn_comment_submit" class="comment_btn" value="提交" onclick="PostComment();return false;" type="button">
&nbsp;&nbsp;<span id="span_comment_canceledit" style="display: none;"><a href="###" onclick="return CancelCommentEdit()">不改了</a>&nbsp;&nbsp;</span><a href="http://passport.cnblogs.com/logout.aspx?ReturnUrl=http%3a%2f%2fwww.cnblogs.com%2fheroman%2farchive%2f2006%2f01%2f09%2f314053.html%3flogout%3d1%23commentform" onclick="return confirm('确认注销吗？')">注销</a>&nbsp;&nbsp;<a id="ctl05_lnkSubscribe" title="邮件订阅回复通知" onclick="return SubscribeComment();" href="http://www.cnblogs.com/UI/Controls/#%23%23">订阅回复</a>
</p>
<p>
[使用Ctrl+Enter键快速提交]
</p>
<div style="display: none;">
<span id="comment_edit_id"></span><span id="span_parentcomment_id">0</span>
<span id="span_parent_id">314053</span>
<span id="span_comment_replyto"></span>
<span id="span_comment_title">Log4Net五步走</span>
<span id="span_comment_posted"></span>
</div>

<div class="itnews c_ad_block" id="itnews">
<a href="http://news.cnblogs.com/" target="_top">IT新闻</a>:<br>

          ·  <a href="http://news.cnblogs.com/n/55140/" target="_top">《星际争霸2》"刀锋女王"重金属主题音乐视频</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55139/" target="_top">中国站长最郁闷的几件事情</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55138/" target="_top">苹果Vs谷歌：手机领域谁怕谁？</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55137/" target="_top">摩托罗拉：豪赌Android的希望与隐忧</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55136/" target="_top">分众新坐标：楼宇是过去 未来在手机和互联网</a><br>
	
</div>


<div id="ad_under_comment" class="c_ad_block">
<a href="http://a4.yeshj.com/rd/34138/" target="_top">每天10分钟，轻松学英语</a><br><br>
<div id="google_ads_div_cnblogs_blogpost_bottom1">
<iframe src="index_1.html" style="border: 0pt none ;" marginheight="0" marginwidth="0" name="google_ads_iframe_cnblogs_blogpost_bottom1" id="google_ads_iframe_cnblogs_blogpost_bottom1" scrolling="no" frameborder="0" height="60" width="468"></iframe></div>

<br>
<div id="google_ads_div_cnblogs_blogpost_bottom">
<iframe src="index_2.html" style="border: 0pt none ;" marginheight="0" marginwidth="0" name="google_ads_iframe_cnblogs_blogpost_bottom" id="google_ads_iframe_cnblogs_blogpost_bottom" scrolling="no" frameborder="0" height="250" width="300"></iframe></div>

</div>
<div id="site_nav_under" class="c_ad_block">
网站导航：<br>
<a href="http://www.cnblogs.com/" target="_top">博客园首页</a> &nbsp;<a href="http://news.cnblogs.com/" target="_top">IT新闻</a> &nbsp;<a href="http://home.cnblogs.com/" target="_top">个人主页</a> &nbsp;<a href="http://home.cnblogs.com/ing/" target="_top">闪存</a> &nbsp;<a href="http://job.cnblogs.com/" target="_top">程序员招聘</a> &nbsp;<a href="http://space.cnblogs.com/" target="_top">社区</a> &nbsp;<a href="http://space.cnblogs.com/q/" target="_top">博问</a> &nbsp;<a href="http://wz.cnblogs.com/" target="_top">网摘</a>
</div>
<div id="ad_under_comment2" class="c_ad_block">
<a href="http://www.china-pub.com/STATIC07/0912/zh_ndcx_091212.asp" target="_top"><img src="chinapub_20091222.jpg" alt="" style="border: 0px none ;"></a><br>
<a href="http://www.china-pub.com/itbook/" target="_top">China-pub 计算机图书网上专卖店！6.5万品种2-8折！</a><br>
<a href="http://www.china-pub.com/static07/0901/zh_jueba_090121.asp" target="_top">China-Pub 计算机绝版图书按需印刷服务</a><br>
</div>


<div id="div_commentbox_nav" class="c_ad_block">
链接：<a href="http://www.cnblogs.com/heroman/archive/2006/01/09/314053.html?switchskin=1#skinlist">切换模板</a><br>
</div>
<div id="relative_search"><br><b>相关搜索:</b><br> <a href="http://zzk.cnblogs.com/s?w=Asp.NET" target="_top">Asp.NET</a> </div><div id="relative_search"><br><b>在知识库中查看：</b><br> <a href="http://kb.cnblogs.com/a/314053/">Log4Net五步走</a></div>

</div>




				

			</div></td>
		</tr>
		</tbody></table>
	</td>
	<td width="10">&nbsp;</td>
	<td valign="top">
		<table align="center" bgcolor="white" border="0" cellpadding="5" cellspacing="0" height="90" width="100%">
		<tbody><tr>
			<td class="banner">
			
			<table height="200" width="100%">
			<tbody><tr>
				<td><table id="Calendar1_entryCal" title="Calendar" style="border: 1px solid rgb(247, 247, 247); color: rgb(204, 0, 153); font-family: Verdana; font-size: 12px; height: 100%; width: 100%; border-collapse: collapse;" border="0" cellpadding="1" cellspacing="0">
	<tbody><tr><td colspan="7" style="background-color: rgb(247, 247, 247);"><table style="color: rgb(255, 102, 0); font-family: Verdana; font-size: 12px; width: 100%; border-collapse: collapse;" border="0" cellspacing="0">
		<tbody><tr><td style="width: 15%;" valign="bottom"><a href="javascript:__doPostBack('Calendar1$entryCal','V2161')" style="color: rgb(204, 0, 153);" title="Go to the previous month">&lt;</a></td><td style="width: 70%;" align="center">2006年1月</td><td style="width: 15%;" align="right" valign="bottom"><a href="javascript:__doPostBack('Calendar1$entryCal','V2223')" style="color: rgb(204, 0, 153);" title="Go to the next month">&gt;</a></td></tr>
	</tbody></table></td></tr><tr><th abbr="日" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">日</th><th abbr="一" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">一</th><th abbr="二" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">二</th><th abbr="三" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">三</th><th abbr="四" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">四</th><th abbr="五" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">五</th><th abbr="六" scope="col" style="background-color: White; font-family: Arial; font-size: 12px; font-weight: normal;" align="center">六</th></tr><tr><td style="color: rgb(48, 48, 48); width: 14%;" align="center">25</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">26</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">27</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">28</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">29</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">30</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">31</td></tr><tr><td style="width: 14%;" align="center">1</td><td style="width: 14%;" align="center">2</td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/3.html"><u>3</u></a></td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/4.html"><u>4</u></a></td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/5.html"><u>5</u></a></td><td style="width: 14%;" align="center">6</td><td style="width: 14%;" align="center">7</td></tr><tr><td style="width: 14%;" align="center">8</td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/9.html"><u>9</u></a></td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/10.html"><u>10</u></a></td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/11.html"><u>11</u></a></td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/12.html"><u>12</u></a></td><td style="width: 14%;" align="center">13</td><td style="width: 14%;" align="center">14</td></tr><tr><td style="width: 14%;" align="center">15</td><td style="width: 14%;" align="center">16</td><td style="width: 14%;" align="center">17</td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/18.html"><u>18</u></a></td><td style="width: 14%;" align="center"><a href="http://www.cnblogs.com/Heroman/archive/2006/1/19.html"><u>19</u></a></td><td style="width: 14%;" align="center">20</td><td style="width: 14%;" align="center">21</td></tr><tr><td style="width: 14%;" align="center">22</td><td style="width: 14%;" align="center">23</td><td style="width: 14%;" align="center">24</td><td style="width: 14%;" align="center">25</td><td style="width: 14%;" align="center">26</td><td style="width: 14%;" align="center">27</td><td style="width: 14%;" align="center">28</td></tr><tr><td style="width: 14%;" align="center">29</td><td style="width: 14%;" align="center">30</td><td style="width: 14%;" align="center">31</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">1</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">2</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">3</td><td style="color: rgb(48, 48, 48); width: 14%;" align="center">4</td></tr>
</tbody></table></td>
			</tr>
			</tbody></table>
				
<h1>&nbsp;公告</h1><br>
<div id="profile_block"><a href="http://home.cnblogs.com/Heroman/" target="_top">我的主页</a>&nbsp; <a href="http://home.cnblogs.com/Heroman/detail/" target="_top">个人资料</a><br><a href="http://home.cnblogs.com/Heroman/ing/" target="_top">我的闪存</a>&nbsp; <a href="http://space.cnblogs.com/msg/send/%e8%8f%a9%e6%8f%90%e6%a0%91" target="_top">发短消息</a></div>
	
				
<h1>&nbsp;导航</h1>
<ul class="list" type="square">
	<li class="listitem"><a id="MyLinks1_HomeLink" class="listitem" href="http://www.cnblogs.com/">博客园</a></li>
	<li class="listitem"><a id="MyLinks1_MyHomeLink" class="listitem" href="http://www.cnblogs.com/Heroman/">首页</a></li>
	<li class="listitem"><a id="MyLinks1_NewPostLink" class="listitem" href="http://www.cnblogs.com/Heroman/admin/EditPosts.aspx?opt=1">发新随笔</a></li>
	<li class="listitem"><a id="MyLinks1_NewArticleLink" class="listitem" href="http://www.cnblogs.com/EnterMyBlog.aspx?NewArticle=1">发新文章</a></li>
	<li class="listitem"><a id="MyLinks1_ContactLink" accesskey="9" class="listitem" href="http://space.cnblogs.com/msg/send/%e8%8f%a9%e6%8f%90%e6%a0%91">联系</a></li>
	<li class="listitem"><a id="MyLinks1_Syndication" class="listitem" href="http://www.cnblogs.com/Heroman/rss">订阅</a><a id="MyLinks1_XMLLink" href="http://www.cnblogs.com/Heroman/rss"><img src="xml.gif" alt="订阅" style="border-width: 0px;"></a>
	</li><li class="listitem"><a id="MyLinks1_Admin" class="listitem" href="http://www.cnblogs.com/Heroman/admin/EditPosts.aspx">管理</a></li>
</ul>

				
<h1>&nbsp;统计</h1>
	<ul class="list" type="square">
		<li class="listitem">随笔： 177
		</li><li class="listitem">文章： 0
		</li><li class="listitem">评论： 949
		</li><li class="listitem">引用： 23
	</li>
</ul>
				

<div class="mySearch">
<h3 class="catListTitle">搜索</h3>
<div class="div_my_zzk"><input value="" id="q" onkeydown="return zzk_go_enter(event);" class="input_my_zzk" type="text">&nbsp;<input onclick="zzk_go()" value="找找看" id="btnZzk" class="btn_my_zzk" type="button"></div>
</div>
<h3>常用链接</h3>
<ul>

		<li><a id="SingleColumn1_ctl02_rptMainLinks_ctl00_lnkLinkItem" href="http://www.cnblogs.com/Heroman/MyPosts.html">我的随笔</a></li>
	
		<li><a id="SingleColumn1_ctl02_rptMainLinks_ctl01_lnkLinkItem" href="http://home.cnblogs.com/Heroman/">我的空间</a></li>
	
		<li><a id="SingleColumn1_ctl02_rptMainLinks_ctl02_lnkLinkItem" href="http://space.cnblogs.com/msg/recent">我的短信</a></li>
	
		<li><a id="SingleColumn1_ctl02_rptMainLinks_ctl03_lnkLinkItem" href="http://www.cnblogs.com/Heroman/MyComments.html">我的评论</a></li>
	
<li><a id="itemListLink" onclick="this.blur();WarpClass('itemListLink', 'itemListLin_con');return false;" href="#">更多链接</a></li>
</ul>
<div id="itemListLin_con" style="display: none;">
<ul>
		<li><a id="SingleColumn1_ctl02_repeaterLinks_ctl01_lnkLinkItem" title="我发表过评论的随笔" href="http://www.cnblogs.com/Heroman/OtherPosts.html">我的参与</a></li>
	
		<li><a id="SingleColumn1_ctl02_repeaterLinks_ctl02_lnkLinkItem" href="http://www.cnblogs.com/Heroman/MyNews.html">我的新闻</a></li>
	
		<li><a id="SingleColumn1_ctl02_repeaterLinks_ctl03_lnkLinkItem" href="http://www.cnblogs.com/Heroman/RecentComments.html">最新评论</a></li>
	
		<li><a id="SingleColumn1_ctl02_repeaterLinks_ctl04_lnkLinkItem" href="http://www.cnblogs.com/Heroman/tag/">我的标签</a></li>
	</ul>
</div>
<h3 class="catListTitle">我参与的团队</h3>
<div class="RecentComment">
	
			<ul style="">
		
			<li>
				<a id="SingleColumn1__3d2284b_TeamList_ctl01_lnkTeam" href="http://team.cnblogs.com/Headhunters/">IT猎头在线(0/0)</a>
			</li>
		
			</ul>
		
</div>


<h3 class="catListTitle">我的标签</h3>
<div id="MyTag">
<ul>
<li><a href="http://www.cnblogs.com/Heroman/tag/%e9%99%88%e5%86%a0%e5%b8%8c/">陈冠希</a>(1)</li><li><a href="http://www.cnblogs.com/Heroman/tag/%e4%b8%8d%e9%9b%85%e7%85%a7/">不雅照</a>(1)</li><li><a href="http://www.cnblogs.com/Heroman/tag/BOBO/">BOBO</a>(1)</li><li><a href="http://www.cnblogs.com/Heroman/tag/%e5%bc%a0%e6%9f%8f%e8%8a%9d/">张柏芝</a>(1)</li>
</ul>
</div>
		<h1 class="listtitle">随笔分类</h1>
		
				<ul class="list" type="square">
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl01_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45813.html">ASP(19)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl01_RssLink" title="Subscribe to ASP(19)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45813.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl02_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45810.html">Asp.NET(52)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl02_RssLink" title="Subscribe to Asp.NET(52)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45810.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl03_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/128722.html">ExtJs记事本(2)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl03_RssLink" title="Subscribe to ExtJs记事本(2)" class="listitem" href="http://www.cnblogs.com/Heroman/category/128722.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl04_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/13785.html">OS(3)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl04_RssLink" title="Subscribe to OS(3)" class="listitem" href="http://www.cnblogs.com/Heroman/category/13785.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl05_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45811.html">SCRIPT(10)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl05_RssLink" title="Subscribe to SCRIPT(10)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45811.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl06_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/13774.html">读书笔记(12)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl06_RssLink" title="Subscribe to 读书笔记(12)" class="listitem" href="http://www.cnblogs.com/Heroman/category/13774.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl07_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/25380.html">服务器技术(2)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl07_RssLink" title="Subscribe to 服务器技术(2)" class="listitem" href="http://www.cnblogs.com/Heroman/category/25380.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl08_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/17224.html">工具软件(11)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl08_RssLink" title="Subscribe to 工具软件(11)" class="listitem" href="http://www.cnblogs.com/Heroman/category/17224.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl09_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/13770.html">胡话胡说(3)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl09_RssLink" title="Subscribe to 胡话胡说(3)" class="listitem" href="http://www.cnblogs.com/Heroman/category/13770.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl10_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45818.html">开源项目研究(4)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl10_RssLink" title="Subscribe to 开源项目研究(4)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45818.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl11_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/13773.html">美好生活(1)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl11_RssLink" title="Subscribe to 美好生活(1)" class="listitem" href="http://www.cnblogs.com/Heroman/category/13773.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl12_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45815.html">模式与架构(7)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl12_RssLink" title="Subscribe to 模式与架构(7)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45815.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl13_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/13772.html">社会百态(7)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl13_RssLink" title="Subscribe to 社会百态(7)" class="listitem" href="http://www.cnblogs.com/Heroman/category/13772.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl14_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45834.html">数据库(11)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl14_RssLink" title="Subscribe to 数据库(11)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45834.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl15_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/25379.html">网络管理(8)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl15_RssLink" title="Subscribe to 网络管理(8)" class="listitem" href="http://www.cnblogs.com/Heroman/category/25379.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl16_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/45812.html">我的人生(11)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl16_RssLink" title="Subscribe to 我的人生(11)" class="listitem" href="http://www.cnblogs.com/Heroman/category/45812.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl17_Link" class="listitem" href="http://www.cnblogs.com/Heroman/category/25378.html">虚拟机(2)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl17_RssLink" title="Subscribe to 虚拟机(2)" class="listitem" href="http://www.cnblogs.com/Heroman/category/25378.html/rss">(rss)</a></li>
			
				</ul>
			
	
		<h1 class="listtitle">随笔档案</h1>
		
				<ul class="list" type="square">
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl01_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2009/12.html">2009年12月 (2)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl02_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2009/10.html">2009年10月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl03_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2009/06.html">2009年6月 (2)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl04_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2009/05.html">2009年5月 (2)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl05_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2009/03.html">2009年3月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl06_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2008/12.html">2008年12月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl07_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2008/07.html">2008年7月 (2)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl08_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2008/04.html">2008年4月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl09_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2008/03.html">2008年3月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl10_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2008/02.html">2008年2月 (5)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl11_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2007/10.html">2007年10月 (2)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl12_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2007/08.html">2007年8月 (7)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl13_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2007/07.html">2007年7月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl14_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/11.html">2006年11月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl15_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/10.html">2006年10月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl16_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/09.html">2006年9月 (3)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl17_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/08.html">2006年8月 (3)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl18_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/06.html">2006年6月 (1)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl19_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/04.html">2006年4月 (7)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl20_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/03.html">2006年3月 (5)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl21_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/02.html">2006年2月 (7)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl22_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2006/01.html">2006年1月 (27)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl23_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/12.html">2005年12月 (9)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl24_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/11.html">2005年11月 (7)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl25_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/10.html">2005年10月 (7)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl26_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/08.html">2005年8月 (10)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl27_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/07.html">2005年7月 (2)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl28_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/06.html">2005年6月 (3)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl29_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/05.html">2005年5月 (5)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl30_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/04.html">2005年4月 (3)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl31_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/03.html">2005年3月 (3)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl32_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/02.html">2005年2月 (3)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl33_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2005/01.html">2005年1月 (12)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl34_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2004/12.html">2004年12月 (14)</a> </li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl35_Link" class="listitem" href="http://www.cnblogs.com/Heroman/archive/2004/11.html">2004年11月 (12)</a> </li>
			
				</ul>
			
	
		<h1 class="listtitle">相册</h1>
		
				<ul class="list" type="square">
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl02_LinkList_ctl01_Link" class="listitem" href="http://www.cnblogs.com/Heroman/gallery/18319.html">My Life</a> </li>
			
				</ul>
			
	
		<h1 class="listtitle">收藏夹</h1>
		
				<ul class="list" type="square">
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl01_Link" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13762.html">Asp.net文章(5)</a> <a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl01_RssLink" title="Subscribe to Asp.net文章(5)" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13762.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl02_Link" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13765.html">FLASH</a> <a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl02_RssLink" title="Subscribe to FLASH" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13765.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl03_Link" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13763.html">散文/杂谈</a> <a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl03_RssLink" title="Subscribe to 散文/杂谈" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13763.html/rss">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl04_Link" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13764.html">组件设计</a> <a id="SingleColumn1_Categories_CatList_ctl03_LinkList_ctl04_RssLink" title="Subscribe to 组件设计" class="listitem" href="http://www.cnblogs.com/Heroman/favorite/13764.html/rss">(rss)</a></li>
			
				</ul>
			
	
		<h1 class="listtitle">技术论坛</h1>
		
				<ul class="list" type="square">
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl04_LinkList_ctl01_Link" class="listitem" href="http://www.cnblogs.com/alice3chen">AliCE cHeNG's bLog</a> <a id="SingleColumn1_Categories_CatList_ctl04_LinkList_ctl01_RssLink" title="Subscribe to AliCE cHeNG's bLog" class="listitem" href="http://www.cnblogs.com/alice3chen/Rss.aspx">(rss)</a></li>
			
				</ul>
			
	
		<h1 class="listtitle">朋友的BLOG</h1>
		
				<ul class="list" type="square">
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl05_LinkList_ctl01_Link" class="listitem" href="http://blog.dream4ever.org/fantasy" target="_top">fantasy's Blog</a> <a id="SingleColumn1_Categories_CatList_ctl05_LinkList_ctl01_RssLink" title="Subscribe to fantasy's Blog" class="listitem" href="http://blog.dream4ever.org/fantasy/Rss.aspx">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl05_LinkList_ctl02_Link" class="listitem" href="http://www.cnblogs.com/hdclub">Hd cLub</a> <a id="SingleColumn1_Categories_CatList_ctl05_LinkList_ctl02_RssLink" title="Subscribe to Hd cLub" class="listitem" href="http://www.cnblogs.com/hdclub/Rss.aspx">(rss)</a></li>
			
				<li class="listitem"><a id="SingleColumn1_Categories_CatList_ctl05_LinkList_ctl03_Link" class="listitem" href="http://www.xwgemini.com/">XW[Gemini]-二次元空间</a> </li>
			
				</ul>
			
	


<h3 class="catListTitle">最新随笔</h3>
<div class="RecentComment" id="RecentPosts">
<ul style="">
	
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl00_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/12/17/1626091.html">1.&nbsp;狗日的网监，狗日的GOV</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl01_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/12/05/1617391.html">2.&nbsp;补充：ASP Json Parser修正版</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl02_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/10/27/1590335.html">3.&nbsp;不完整的CSS样式文件会让Dreamweaver崩溃</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl03_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/06/21/1507788.html">4.&nbsp;注意检查你代码中的逗号</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl04_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/06/17/1504932.html">5.&nbsp;EXTJS中设置ComboBox的值</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl05_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/05/22/1486729.html">6.&nbsp;EXTJS:拖动对行进行排序</a></li>
		
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl05_RecentPostsList2_ctl01_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/05/22/1486723.html">7.&nbsp;将Json字符串转换为ASP对象(parse json string to asp object)</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl06_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/03/02/1401136.html">8.&nbsp;一句简单的SQL语句,找出表中某个字段的重复值</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl07_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2008/12/27/1363405.html">9.&nbsp;ExtJS Formpanel事件处理的标准写法</a></li>
		
		
	
			<li><a id="SingleColumn1_ctl05_RecentPostsList_ctl08_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2008/07/28/1254373.html">10.&nbsp;ASP生成JSON数据</a></li>
		
	
</ul>
</div>

<h3>积分与排名</h3>
<ul>
	<li>
		积分 -
		381931
	</li><li>
		排名 -
		120
	</li>
</ul>

<h3 class="catListTitle">最新评论
	<a id="SingleColumn1__2e3d8b6_RSSHyperlink1" href="http://www.cnblogs.com/Heroman/CommentsRSS.aspx"><img src="xml.gif" style="border-width: 0px;"></a></h3>
<div class="RecentComment" id="RecentComments">
	
			<ul>
		
			<li style="">
				<a id="SingleColumn1__2e3d8b6_CommentList_ctl01_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2006/02/27/338356.html#1739282">1.&nbsp;Re:用VMWARE安装Mac OSX Tiger 10.4.4 X86</a>
			</li>
			<li style="">
				取经  取经。。。nnd 研究一天了也没成功！
			</li>
			<li style="text-align: right; margin-right: 4px;">
				--肉鸟一只</li>
		
			<li style="">
				<a id="SingleColumn1__2e3d8b6_CommentList_ctl02_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2006/03/06/343744.html#1738487">2.&nbsp;Re:应用系统权限表示的算法技巧</a>
			</li>
			<li style="">
				按高低位用十进制表示
1，2，4，8，16，32，64。。。。
@雁儿飞飞 
的表示是适合的
			</li>
			<li style="text-align: right; margin-right: 4px;">
				--superstar</li>
		
			<li style="">
				<a id="SingleColumn1__2e3d8b6_CommentList_ctl03_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/12/17/1626091.html#1735381">3.&nbsp;Re:狗日的网监，狗日的GOV</a>
			</li>
			<li style="">
				mark  
			</li>
			<li style="text-align: right; margin-right: 4px;">
				--snow man</li>
		
			<li style="">
				<a id="SingleColumn1__2e3d8b6_CommentList_ctl04_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/12/17/1626091.html#1727505">4.&nbsp;Re:狗日的网监，狗日的GOV</a>
			</li>
			<li style="">
				也就TMD这个熊样了。
			</li>
			<li style="text-align: right; margin-right: 4px;">
				--Duron800</li>
		
			<li style="">
				<a id="SingleColumn1__2e3d8b6_CommentList_ctl05_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2009/12/17/1626091.html#1726919">5.&nbsp;Re:狗日的网监，狗日的GOV</a>
			</li>
			<li style="">
				晕你的标签
			</li>
			<li style="text-align: right; margin-right: 4px;">
				--xiaotie</li>
		
			</ul>
		
</div>

<h3 class="catListTitle">阅读排行榜</h3>
<div class="RecentComment" id="TopViewPosts"> 
	
			<ul style="">
		
			<li>
				<a id="SingleColumn1_ctl08_TopList_ctl01_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2006/02/27/338356.html">1.&nbsp;用VMWARE安装Mac OSX Tiger 10.4.4 X86(36063)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl08_TopList_ctl02_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2005/05/19/159086.html">2.&nbsp;来自CodeSmith的震撼(20698)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl08_TopList_ctl03_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2005/01/13/91265.html">3.&nbsp;与正则表达式相关的几个小工具(16682)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl08_TopList_ctl04_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2005/04/12/136283.html">4.&nbsp;[分享]FCKEDITOR范例及中文使用说明(15422)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl08_TopList_ctl05_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2006/01/09/314053.html">5.&nbsp;Log4Net五步走(12369)</a>
			</li>
		
			</ul>
		
</div>

<h3 class="catListTitle">评论排行榜</h3>
<div class="RecentComment" id="TopCommentsPosts">
	
			<ul style="">
		
			<li>
				<a id="SingleColumn1_ctl09_TopList_ctl01_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2005/05/19/159086.html">1.&nbsp;来自CodeSmith的震撼(94)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl09_TopList_ctl02_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2006/03/06/343744.html">2.&nbsp;应用系统权限表示的算法技巧(45)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl09_TopList_ctl03_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2005/01/13/91265.html">3.&nbsp;与正则表达式相关的几个小工具(45)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl09_TopList_ctl04_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2005/04/12/136283.html">4.&nbsp;[分享]FCKEDITOR范例及中文使用说明(38)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl09_TopList_ctl05_Hyperlink1" href="http://www.cnblogs.com/Heroman/archive/2006/02/27/338356.html">5.&nbsp;用VMWARE安装Mac OSX Tiger 10.4.4 X86(36)</a>
			</li>
		
			</ul>
		
</div>
			<br>
			
<div class="footer">
	Powered by: <a href="http://www.cnblogs.com/">博客园</a><br>模板提供：<a href="http://blog.hjenglish.com/">沪江博客</a><br>
	Copyright ©2010 菩提树
</div>
			</td>
		</tr>
		</tbody></table>
	</td>
</tr>
</tbody></table>
<br>



<!-- 页面内因素 -->




    </form>
	
	
      
    
    
    
</body>
</html>
